from django.urls import re_path
from lina import views

urlpatterns = [
    re_path(r'^api/v1.0/areas$', views.CityProperListView.as_view()),
    re_path(r'^api/v1.0/houses$', views.ReleaseHouseView.as_view()),
    re_path(r'^api/v1.0/user/houses$', views.HouseListView.as_view()),
    re_path(r'^api/v1.0/houses/(?P<house_id>\d)$', views.HouserDetailsView.as_view()),
    re_path(r'^api/v1.0/houses/index$', views.HouseIndexView.as_view()),

]